#ifndef QAVFRAME_P_H
#define QAVFRAME_P_H

#include "qavstreamframe_p.h"

extern "C" {
#include <libavutil/frame.h>
}

QT_BEGIN_NAMESPACE

struct AVFrame;
class QAVFramePrivate : public QAVStreamFramePrivate
{
public:

    double pts() const override;
    double duration() const override;

    AVFrame* frame = nullptr;
    // Overridden data from filters if any
    AVRational frameRate{};
    AVRational timeBase{};
    // Name of a filter the frame has retrieved from
    QString filterName;
};

QT_END_NAMESPACE

#endif
